//
//  TranferNoViewController.m
//  PigMarket
//
//  Created by 张敬 on 2019/8/21.
//  Copyright © 2019年 pigmarket.oc. All rights reserved.
//

#import "TranferNoViewController.h"
#import "TranferTableViewCell.h"


@interface TranferNoViewController ()

@end

@implementation TranferNoViewController


#pragma mark - view life cycle

- (void)setupUI {
    
    {
        self.baseNavView.hidden = YES;
    }
    
}



- (void) setupLayout {
    
    [self.tableView mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.top.mas_equalTo(10);
        make.right.left.bottom.mas_equalTo(0);
    }];
}



- (void)initData {
    //    NSNumber *memberId = [UserInfoDataProvider sharedInstance].userInfo.memberId;
    //    @weakify(self);
    //    [[[PigMarketApi sharedInstance] getMyAssetWithMemberId:memberId] subscribeNext:^(MyAsset * _Nullable myAsset) {
    //        @strongify(self);
    //        self.model = [[MyAsset alloc] init];
    //        self.model = myAsset;
    //        self.headerView.balance.text = [NSString stringWithFormat:@"￥%@",self.model.money];
    //        [self.myTableView reloadData];
    //    } error:^(NSError * _Nullable error) {
    //        @strongify(self);
    //        [self handlingError:error];
    //    }];
}



#pragma mark - delegate

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    
    return 5;
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
    return 73;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    TranferTableViewCell *cell = [tableView  dequeueReusableCellWithIdentifier:@"TranferTableViewCell"];
    return cell;
}


- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    
}


#pragma mark - getter and setter

- (void)registerTableViewCell
{
    self.tableView.separatorColor = mIconLineColor;
    [self.tableView registerClass:[TranferTableViewCell class] forCellReuseIdentifier:@"TranferTableViewCell"];
}



@end

